@import '~iview/src/styles/index.less';

@primary-color: #2493fb;
@body-background: #f0fafa;
@layout-sider-background: #3d4553;

@selected-color: #1a7cda;
@table-td-hover-bg: #f7f9fc;

.ivu-menu{
  &-dark{
    background: @layout-sider-background;
  }
  &-dark&-vertical &-opened{
    background: #373e4b;
  }
  &-dark&-vertical &-submenu &-item{
    &:hover{
      color: @selected-color;
    }
  }
  &-dark&-vertical &-item{
    &:hover{
      color: @selected-color;
      background: none;
    }
    &-active:not(.ivu-menu-submenu){
      background: @selected-color;
      border-right: none;
      color: @menu-dark-subsidiary-color;
    }
    &-active:not(.ivu-menu-submenu):hover
    {
      background: @selected-color;
    }
  }
}

.ivu-tree{
  &-title{
    &:hover {
      background-color: tint(@primary-color, 60%);
    }
    &-selected, &-selected:hover{
      background-color: tint(@primary-color, 50%);
    }
  }
}

.ivu-table th{
  background-color: #e9edf4;
}

.ivu-dropdown-item{
  &:hover {
    background-color: @primary-color;
  }
}

.ivu-tooltip{
  &-inner{
    padding: 0;
  }
}

@tooltip-bg: @layout-sider-background;